package com.ljh;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author grung
 * @Date 2020/10/8 18:05
 * @Version 1.0
 */

@EnableDubbo //启用dubbo
@PropertySource("classpath:/dubbo.properties") //启用配置文件
@SpringBootApplication
public class DubboWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(DubboWebApplication.class, args);
    }
}
